amd iommu: reduce io page level for hvm guest (2/3)
authorWei Wang <wei.wang2@amd.com>
Thu, 27 Jan 2011 16:11:37 +0000 (16:11 +0000)
committerWei Wang <wei.wang2@amd.com>
Thu, 27 Jan 2011 16:11:37 +0000 (16:11 +0000)
commit78805ca0e399899bcd201f7cba52887406dc8a4e
tree2ef9eecb46e3cef5f748f353d5fa4e5f2e075d9a
parent24c3ed18af8a89d0066f5668ad91a0c38c98f7a2
amd iommu: reduce io page level for hvm guest (2/3)

Clean up amd_iommu_reserve_domain_unity_map function to reduce code
duplication.

Signed-off-by: Wei Wang <wei.wang2@amd.com>
xen/drivers/passthrough/amd/iommu_map.c